<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>inline</title>
    <style>
        /*设置宽高无效*/
        span{
            background-color: orange;
            width: 300px;   
            height: 200px; 
        }
    </style>
</head>
<body>
    <span>
        设置背景颜色
        <b>哈哈哈</b>
    </span>
</body>
</html>